@import 'config';
.address-list{
  &>.item{
    position:relative;
    // border-width: px2rem(1px) 0;
    overflow: hidden;
    &:after{
      content: '';
      border-bottom: px2rem(1px) solid $light;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 0;
    }
  }
  &>.item + .item{
    // margin-bottom: px2rem(-1px);
  }
  .left {
    position: relative;
    padding: px2rem(10px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    .main{
      flex: 1;
    }
    .edit{
      width: px2rem(30px);
      border-left: px2rem(1px) solid $light;
      padding-left: px2rem(10px);
      margin-left: px2rem(20px);
      font-size: px2rem(12px);
      color: $primary;
      text-align: center;
    }
  }
  .del{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 0;
    text-align: right;
  }
  .select-default{
    &:after {
      content: '';
      position: absolute;
      left: 0;
      top: px2rem(-1px);
      height: 0;
      border: px2rem(12px) solid $red;
      border-color: $red transparent transparent  $red;
    }
    .icon{
      position: absolute;
      left: px2rem(2px);
      top: px2rem(1px);
      font-size: px2rem(12px);
      z-index: 1;
      color: $white;
    }
  }
}
.add_address{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: px2rem(40px);
  line-height: px2rem(40px);
  color: $white;
  font-size: px2rem(16px);
  text-align: center;
  background-color: $red;
}
.address-warp{
  color: $darker;
  padding-bottom: px2rem(40px);
}